import request from '@/utils/request'
const BASE_URL = '/inbound'
// 分页查询
export function getPageList(data) {
  return request({
    url: BASE_URL + '/getPageList',
    method: 'post',
    data
  })
}
// 详情
export function getInfo(data) {
  return request({
    url: BASE_URL + '/getInfo',
    method: 'post',
    data
  })
}
// 新增
export function returnAdd(data) {
  return request({
    url: BASE_URL + '/add',
    method: 'post',
    data
  })
}
// 查询
export function backDelete(data) {
  return request({
    url: BASE_URL + '/delete',
    method: 'post',
    data
  })
}
// 根据退件单号查询
export function getByReturnNo(data) {
  return request({
    url: BASE_URL + '/getByReturnNo',
    method: 'post',
    data
  })
}
// 查询导出数据
export function getImportData(data) {
  return request({
    url: BASE_URL + '/importData',
    method: 'post',
    data
  })
}
